package com.example.demo.service;

import com.example.demo.dao.QueryDao;
import com.example.demo.model.QueryResultDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QueryService {

    @Autowired
    QueryDao queryDao;

    public List<QueryResultDO> queryResult(String startDate, String endDate){
        return queryDao.queryResult(startDate, endDate);
    }
}
